<!DOCTYPE HTML>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>信用资产管理系统后台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" href="./dist/css/reset.css">
    <link rel="stylesheet" type="text/css" href="./dist/css/normalize.css">
    <link rel="stylesheet" href="./dist/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="./dist/css/CardManagement.css">
</head>

<body>
    <!--=== nav ===-->
    <nav class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="row clearfix">
                <div class="col-sm-3 col-md-3 navbar-header">
                    <a href="#" class="navbar-brand"><img class="logoImg" src="./dist/img/logo.png"> <span>系统管理后台</span> </a>
                </div>
                <ul class="col-sm-9 col-md-9 nav navbar-nav navbar-right">
                    <li class="col-sm-2 col-md-2"><a href="./BackstageHomePage.html">首页</a></li>
                    <li class="col-sm-2 col-md-2"><a href="./MemberManagement.html">会员管理</a></li>
                    <li class="col-sm-2 col-md-2"><a href="./CardManagement.html" class="navItemActive">信用卡管理</a></li>
                    <li class="col-sm-2 col-md-2"><a href="./InformationManagement.html">信息管理</a></li>
                    <li class="col-sm-2 col-md-2"><a href="./SystemSetUp.html">系统设置</a></li>
                    <div class="loginOut"><a class="loginOut " href="# ">退出</a></div>
                </ul>
            </div>
        </div>
    </nav>
    <div class="container content">
        <div class="row margin-top22 ">
            <!-- === 左边 === -->
            <section class="col-sm-1 col-md-1 sidebar ">
                <ul class="left-list">
                    <li class="left-item"><a href="javascript:;">信用卡</a></li>
                    <li class="left-item"><a href="javascript:;">银行管理</a></li>
                    <li class="left-item"><a href="javascript:;">操作日志</a></li>
                </ul>
            </section>
            <!-- === 右边 === -->
            <article class="col-sm-11 col-md-11 article ">
                <div class="graydiv"></div>
                <div class="right-content">
                      <section class="right-item show">
                         <h2 class="title">信用卡管理</h2>
                        <table class="table table-bordered ">
                            <thead class="account-list repay-money-list">
                                <tr>
                                    <th class="col-sm-2 col-md-2 txetl">添加时间</th>
                                    <th class="col-sm-2 col-md-2 textl">所属账号</th>
                                    <th class="col-sm-3 col-md-3 textl">卡号名称</th>
                                    <th class="col-sm-1 col-md-1 textl">额度</th>
                                    <th class="col-sm-1 col-md-1 textl">可用额度</th>
                                    <th class="col-sm-1 col-md-1 textl">临时额度</th>
                                    <th class="col-sm-1 col-md-1 textl">所属银行</th>
                                    <th class="col-sm-2 col-md-2 textl">操作</th>
                                </tr>
                            </thead>
                            <tbody class="account-item">
                                <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">asdsd22</td>
                                    <td class="textl">招商白金我的222</td>
                                    <td class="textr">222222</td>
                                    <td class="textr">111110</td>
                                    <td class="textl">无</td>
                                    <td class="textl">招商银行</td>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                         </button>/<button type="button" class="list-group-item change-repay-info" data-toggle="modal" data-target="#myDialog"
                        data-whatever="修改">
                                         修改
                                         </button>
                                    </td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">asdsd22</td>
                                    <td class="textl">招商白金我的222</td>
                                    <td class="textr">222222</td>
                                    <td class="textr">111110</td>
                                    <td class="textl">无</td>
                                    <td class="textl">招商银行</td>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                         </button>/<button type="button" class="list-group-item change-repay-info" data-toggle="modal" data-target="#myDialog"
                        data-whatever="修改">
                                         修改
                                         </button>
                                    </td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">asdsd22</td>
                                    <td class="textl">招商白金我的222</td>
                                    <td class="textr">222222</td>
                                    <td class="textr">111110</td>
                                    <td class="textl">无</td>
                                    <td class="textl">招商银行</td>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                         </button>/<button type="button" class="list-group-item change-repay-info" data-toggle="modal" data-target="#myDialog"
                        data-whatever="修改">
                                         修改
                                         </button>
                                    </td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">asdsd22</td>
                                    <td class="textl">招商白金我的222</td>
                                    <td class="textr">222222</td>
                                    <td class="textr">111110</td>
                                    <td class="textr">1000</td>
                                    <td class="textl">招商银行</td>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                         </button>/<button type="button" class="list-group-item change-repay-info" data-toggle="modal" data-target="#myDialog"
                        data-whatever="修改">
                                         修改
                                         </button>
                                    </td>
                                </tr>
                                  <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">asdsd22</td>
                                    <td class="textl">招商白金我的222</td>
                                    <td class="textr">222222</td>
                                    <td class="textr">111110</td>
                                    <td class="textr">1000</td>
                                    <td class="textl">招商银行</td>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                         </button>/<button type="button" class="list-group-item change-repay-info" data-toggle="modal" data-target="#myDialog"
                        data-whatever="修改">
                                         修改
                                         </button>
                                    </td>
                                </tr>
                                  <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">asdsd22</td>
                                    <td class="textl">招商白金我的222</td>
                                    <td class="textr">222222</td>
                                    <td class="textr">111110</td>
                                    <td class="textr">1000</td>
                                    <td class="textl">招商银行</td>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                         </button>/<button type="button" class="list-group-item change-repay-info" data-toggle="modal" data-target="#myDialog"
                        data-whatever="修改">
                                         修改
                                         </button>
                                    </td>
                                </tr>
                                  <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">asdsd22</td>
                                    <td class="textl">招商白金我的222</td>
                                    <td class="textr">222222</td>
                                    <td class="textr">111110</td>
                                    <td class="textr">1000</td>
                                    <td class="textl">招商银行</td>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                         </button>/<button type="button" class="list-group-item change-repay-info" data-toggle="modal" data-target="#myDialog"
                        data-whatever="修改">
                                         修改
                                         </button>
                                    </td>
                                </tr>
                                  <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">asdsd22</td>
                                    <td class="textl">招商白金我的222</td>
                                    <td class="textr">222222</td>
                                    <td class="textr">111110</td>
                                    <td class="textr">1000</td>
                                    <td class="textl">招商银行</td>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                         </button>/<button type="button" class="list-group-item change-repay-info" data-toggle="modal" data-target="#myDialog"
                        data-whatever="修改">
                                         修改
                                         </button>
                                    </td>
                                </tr>
                                  <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">asdsd22</td>
                                    <td class="textl">招商白金我的222</td>
                                    <td class="textr">222222</td>
                                    <td class="textr">111110</td>
                                    <td class="textr">1000</td>
                                    <td class="textl">招商银行</td>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                         </button>/<button type="button" class="list-group-item change-repay-info" data-toggle="modal" data-target="#myDialog"
                        data-whatever="修改">
                                         修改
                                         </button>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </section>


                      <section class="right-item">
                         <h2 class="title">银行管理</h2>
                        <form class="form-horizontal col-md-offset-1 col-md-8 change-pwd">
                             <div class="form-group input_wrap">
                                    <label for="user_name">银行名称</label>
                                    <input type="text" name="user_name" required id="user_name" value="" placeholder="请输入账号"/>
                            </div>

                            <div class="form-group input_wrap">
                                    <label for="user_pd">新密码</label>
                                    <input type="password" name="user_pd" required class="user_pd" value="" placeholder="请输入新密码"/>
                            </div>

                             <div class="form-group input_wrap">
                                    <label for="re_pd">确认密码</label>
                                    <input type="password" name="re_pd" required class="re_pd" value="" placeholder="请再次输入新密码"/>
                            </div>
                            <div class="form-group">
                                <button type="submit" class="btn right-submitBtn btn-default">新增</button>
                            </div>
                        </form>
                         <table class="table table-bordered bankList">
                            <thead class="account-list repay-money-list">
                                <tr>
                                    <th class="col-sm-2 col-md-2 txetl">银行名称</th>
                                    <th class="col-sm-2 col-md-2 textl">操作</th>
                                </tr>
                            </thead>
                            <tbody class="account-item">
                                <tr>
                                    <th class="txetl" scope="row ">招商银行</th>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                    </td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">招商银行</th>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                    </td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">招商银行</th>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                    </td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">招商银行</th>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                    </td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">招商银行</th>
                                    <td class="textl">
                                        <button type="button" class="list-group-item  delete-repay-info">
                                         删除
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                      </section>


                      <section class="right-item">
                        <h2 class="title">操作日志</h2>
                        <table class="table table-bordered ope-log">
                            <thead class="account-list repay-money-list">
                                <tr>
                                    <th class="col-sm-2 col-md-2 txetl">注册时间</th>
                                    <th class="col-sm-2 col-md-2 textl">操作账号</th>
                                    <th class="col-sm-2 col-md-3 textl">简述</th>
                                    <th class="col-sm-1 col-md-1 textl">明细</th>
                                </tr>
                            </thead>
                            <tbody class="account-item">
                                <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">admin</td>
                                    <td class="textl">删除行用卡 “ssss”</td>
                                    <td class="textl">删除</td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">admin</td>
                                    <td class="textl">修改“我的招商卡” 额度</td>
                                    <td class="textr">1000</td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">admin</td>
                                    <td class="textl">修改“我的招商卡” 额度</td>
                                    <td class="textr">-1000</td>
                                </tr>
                                 <tr>
                                    <th class="txetl" scope="row ">2018.5.1</th>
                                    <td class="txetl">admin</td>
                                    <td class="textl">新增“我的广发卡”</td>
                                    <td class="textl">新增</td>
                                </tr>
                            </tbody>
                        </table>
                    </section>

                </div>

            </article>

             <!-- ===分页=== -->
            <nav aria-label="Page navigation " class="clearfix queryPage">
                <ul class="pagination pull-right ">
                    <li>
                        <a href="# " aria-label="Previous ">
                           <span aria-hidden="true ">&laquo;</span>
                            </a>
                    </li>
                    <li><a href="# ">1</a></li>
                    <li><a href="# ">2</a></li>
                    <li><a href="# ">3</a></li>
                    <li><a href="# ">4</a></li>
                    <li><a href="# ">5</a></li>
                    <li><a href="# ">6</a></li>
                    <li>
                        <a href="# " aria-label="Next ">
                             <span aria-hidden="true ">&raquo;</span>
                         </a>
                    </li>
                </ul>
            </nav>
        </div>
    </div>

    <!-- === 信用卡信息修改 ===-->

     <div class="modal fade" id="myDialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog small-dialog" role="document">
            <div class="modal-content change-repay">
                <div class="modal-header">
                <h4 class="modal-title" id="myModalLabel">信用卡信息修改</h4>
            </div>
                <form class="form-horizontal repay-money clearfix ">
                    <div class="form-group ">
                        <label for="inputTime " class="col-md-4 control-label ">添加时间</label>
                        <div class="calendarInput input-group date form_date col-md-8" data-date="" data-date-format="yyyy-mm-dd">
                            <input class="form-control" size="16" type="text" value="" readonly>
                            <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                            <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                        </div>
                    </div>
                   <div class="form-group ">
                        <label for="repay-Number " class="col-md-4 control-label ">所属账号</label>
                        <div class="col-md-8 ">
                            <input type="text " class="form-control "  disabled placeholder="不能修改">
                        </div>
                    </div>

                    <div class="form-group ">
                        <label for="repay-Number " class="col-md-4 control-label ">卡号名称</label>
                        <div class="col-md-8 ">
                            <input type="text " class="form-control " placeholder="">
                        </div>
                    </div>
                    <div class="form-group ">
                        <label for="repay-Number " class="col-md-4 control-label ">额度</label>
                        <div class="col-md-8 ">
                            <input type="text " class="form-control " placeholder="">
                        </div>
                    </div>
                    <div class="form-group ">
                        <label for="repay-Number " class="col-md-4 control-label ">可用额度</label>
                        <div class="col-md-8 ">
                            <input type="text " class="form-control " placeholder="">
                        </div>
                    </div>
                     <div class="form-group ">
                        <label for="repay-Number " class="col-md-4 control-label ">临时额度</label>
                        <div class="col-md-8 ">
                            <input type="text " class="form-control " placeholder="">
                        </div>
                    </div>

                    <div class="form-group ">
                        <label for="inputNum " class="col-md-4 control-label ">所属银行</label>
                        <div class="col-md-8 ">
                            <select class="form-control card-option ">
                                <option>交通银行</option>
                                <option>招商银行</option>
                                <option>光大银行</option>
                                <option>浦发银行</option>
                            </select>
                        </div>
                    </div>
                </form>
                <div class="modal-footer clearfix">
                    <button type="button" class="btn btn-primary no-btn pull-left" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary yes-btn pull-right">确认</button>
                </div>
            </div>
        </div>
    </div>


</body>
<script src="./dist/jquery/jquery-1.8.3.min.js "></script>
<script src="./dist/bootstrap/js/bootstrap.min.js "></script>
<script type="text/javascript " src="dist/bootstrap-datelimepicker/bootstrap-datetimepicker.min.js "></script>
<script type="text/javascript " src="dist/bootstrap-datelimepicker/bootstrap-datetimepicker.zh-CN.js "></script>
<script type="text/javascript ">
$('.form_date').datetimepicker({
    language: 'zh-CN',
    weekStart: 1,
    todayBtn: 1,
    autoclose: 1,
    todayHighlight: 1,
    startView: 2,
    minView: 2,
    forceParse: 0
});

var leftItems = document.querySelectorAll('.left-item')
var sections = document.querySelectorAll('.right-item')
for (var i=0;i<leftItems.length;i++) {
            leftItems[i].index = i;
            leftItems[i].onclick = function (){
                for (var i=0;i<leftItems.length;i++){
                    sections[i].className = 'right-item';
                }
                sections[this.index].className = 'right-item show';
                 if(this.index==0 || this.index==2){
                    $(".queryPage").show();
                }else{
                    $(".queryPage").hide();
                }
            }
        }
</script>

</html>
